<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<html>
<head>

<link type="text/css" href="css/form.css" rel="stylesheet" />

</head>
<body>
	<h2>Agregar un nuevo cliente</h2>
	<form:form method="POST" commandName="cliente">
		<div style="float: center;">

			<fieldset style="width: 600">
				<table>
					<tr>
						<td>Nombre de Usuario :</td>
						<td><form:input path="firstName" /></td>
					</tr>

					<tr>
						<td>Apellido :</td>
						<td><form:input path="lastName" /></td>
					</tr>

					<tr>
						<td>Pais :</td>
						<td><form:select path="nationality">
								<form:options items="${countriesList}"></form:options>
							</form:select></td>
					</tr>

					<tr>
						<td colspan="3"><input type="submit" class="button blue"
							value="Guardar Cliente" /></td>
					</tr>
				</table>
			</fieldset>
		</div>

	</form:form>

</body>
</html>